home *** CD-ROM | disk | FTP | other *** search
- #ifndef __ICON_MENU_H_
- #define __ICON_MENU_H_
-
- #include "choicebx.h"
-
- class IconMenu : public ChoiceBox
- {
- protected:
- int itemType;
- public:
- IconMenu(rect coordinates, char* fName = "", char* h = "",
- char* HOT = NULL, int POS = 1, int START = 1,
- int ITEMTYPE = SMALL_ICON,
- int* ITEMLIST = NULL, loc ITEMDISTANCE = loc(1, 0),
- rect STATUSPOS = rect(0, 0, 79, 25),
- int STATUSTYPE = 0, char** STATUSSTRINGS = NULL,
- int* STATUSLIST = NULL,
- int res = FIXED, int s = 0, BORDERS b_type = SHOW_BORDER,
- BORDERS hdr_b_type = SHOW_BORDER, int pat = 0,
- int hdr_pat = 0)
- : ChoiceBox(coordinates, fName, h, HOT, POS, START,
- loc(1, 1), NULL, ITEMLIST, ITEMDISTANCE,
- STATUSPOS, STATUSTYPE, STATUSSTRINGS, STATUSLIST,
- res, s, b_type, hdr_b_type, pat, hdr_pat)
- {
- itemType = ITEMTYPE;
- calcConsts();
- }
-
- virtual void calcItemsNumber();
- virtual void showItem();
- virtual void show();
- };
-
- #endif __ICON_MENU_H_